<?php $id =$_POST['id'];
if($id){?>
 二级：<select name="info[parentid2]" class="qx2" id="info[parentid2]">
<option value="0">作为二级别</option>
<?php
echo $sql="select a.menu_id,m.name from ".$BIAOTOU."access a,".$BIAOTOU."menu m where a.parentid=".$id." and m.id=a.menu_id group by menu_id";
$query=mysql_query($sql);
while($row=mysql_fetch_array($query)){
  echo "<option  value=\"".$row[menu_id]."\">".$row[name]."(".$row[menu_id].")</option>";
}
?>
</select>
<?php }?>